/** Activity method onCreate(Bundle savedInstanceState) */

// my activity result layout
mActivitySurfaceResult = (FrameLayout) findViewById(R.id.result_view);
mFrameBase = new FrameBase(this); // create object

// prepare configuration
// gaussian kernel with 13x13 matrix and sigma 3
mFrameBase.setGaussianKernel(13, 3.0);
// output in grey style
mFrameBase.setBitmapColor(FrameBase.Config.BitmapColor.GREY);
// cpu rendering
mFrameBase.setProcessingUnit(FrameBase.Config.ProcessingUnit.CPU);

// push my data from camera
mFrameBase.pushImage(data);

// request surface
mActivitySurfaceResult.addView(mFrameBase.getSurface());
